package com.zzyl.nursing.mapper;

import com.zzyl.nursing.domain.Reservation;
import io.lettuce.core.dynamic.annotation.Param;
import org.apache.ibatis.annotations.Mapper;

import java.time.LocalDateTime;
import java.util.List;

@Mapper
public interface MemberReservationMapper  {
    void insertReservation(Reservation reservation);

    List<Reservation> selectReservations( @Param("status") Integer status);
//    long getCancelledCount(@Param("startTime") LocalDateTime startTime, @Param("endTime") LocalDateTime endTime);
}
